<!DOCTYPE html>
<html>
<head>
    <title>{{block name=title}}Default Title{{/block}}</title>
    <link rel="shortcut icon" href="{{$base_url}}/assets/images/favicon.ico" type="image/x-icon">
    <style>
        .header, .main,.footer{
            padding: 0 20px;
        }
    </style>
    {{block name=header}}{{/block}}
</head>
<body>
    <header class="header">
        <nav>
            <a href="{{$base_url}}/">Home</a>
            <a href="{{$base_url}}/about">About</a>
        </nav>
    </header>
    
    <main class="main">
        {{block name=content}}{{/block}}
    </main>
    
    <footer class="footer">
        &copy; Smarty MVC Framework
    </footer>

    {{block name=script}}{{/block}}
</body>
</html>